.class Les/xy$y2;
.super Ljava/lang/Object;
.source "EditMenuItemProvider.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/xy;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/xy;


# direct methods
.method constructor <init>(Les/xy;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/xy$y2;->a:Les/xy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 6

    .line 1
    iget-object p1, p0, Les/xy$y2;->a:Les/xy;

    invoke-static {p1}, Les/xy;->b(Les/xy;)Ljava/util/List;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    const/4 v0, 0x1

    if-ne p1, v0, :cond_0

    iget-object p1, p0, Les/xy$y2;->a:Les/xy;

    invoke-static {p1}, Les/xy;->b(Les/xy;)Ljava/util/List;

    move-result-object p1

    const/4 v1, 0x0

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/n0;->g(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    .line 3
    new-instance v2, Les/s60;

    iget-object v3, p0, Les/xy$y2;->a:Les/xy;

    invoke-static {v3}, Les/xy;->b(Les/xy;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/fs/g;

    invoke-direct {v2, v3}, Les/s60;-><init>(Lcom/estrongs/fs/g;)V

    const v3, 0x7f110087

    .line 4
    invoke-virtual {p1, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    new-array v4, v0, [Ljava/lang/Object;

    iget-object v5, p0, Les/xy$y2;->a:Les/xy;

    invoke-static {v5}, Les/xy;->b(Les/xy;)Ljava/util/List;

    move-result-object v5

    invoke-interface {v5, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/fs/g;

    invoke-interface {v5}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Lcom/estrongs/android/util/h0;->m(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    aput-object v5, v4, v1

    invoke-static {v3, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Les/s80;->a(Ljava/lang/String;)V

    .line 5
    new-instance v1, Lcom/estrongs/android/pop/e;

    invoke-direct {v1, p1}, Lcom/estrongs/android/pop/e;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v1}, Les/s80;->a(Les/v80;)V

    .line 6
    new-instance v1, Lcom/estrongs/android/ui/dialog/b1;

    const v3, 0x7f11004f

    invoke-virtual {p1, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, p1, v3, v2}, Lcom/estrongs/android/ui/dialog/b1;-><init>(Landroid/content/Context;Ljava/lang/String;Les/s80;)V

    .line 7
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/q;->show()V

    .line 8
    invoke-virtual {v2}, Les/s80;->d()V

    .line 9
    :cond_0
    iget-object p1, p0, Les/xy$y2;->a:Les/xy;

    invoke-static {p1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->R()V

    return v0
.end method
